package com.gimi.cloud.bbp.manage.common;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

/**
 * 一些数据池，以及包括appkey之类的一些数据
 * 
 * @author Kunkka
 *
 */
@SuppressWarnings("unchecked")
public class AppCommons {

	public static Map<String, Object> MODIFY_EMAIL_CODE_MAP = Collections
			.synchronizedMap(new HashMap());
	public static Map<String, Object> BORROW_BESPEAK_CODE_MAP = Collections
			.synchronizedMap(new HashMap());
	public static Map<String, Object> REGISTER_CODE_MAP = Collections
			.synchronizedMap(new HashMap());
	public static Map<String, Object> BIND_PHONE_CODE_MAP = Collections
			.synchronizedMap(new HashMap());
	public static Map<String, Object> MODIFY_PHONE_CODE_MAP = Collections
			.synchronizedMap(new HashMap());

	public static Map<String, Object> REGISTER_STEP_MAP = Collections
			.synchronizedMap(new HashMap());
	public static Map<String, Object> GETPWD_STEP_MAP = Collections
			.synchronizedMap(new HashMap());
	public static Map<String, Object> BIND_EMAIL_CODE_MAP = Collections
			.synchronizedMap(new HashMap());
	public static Map<String, Object> RESET_PAYPWD_CODE_MAP = Collections
			.synchronizedMap(new HashMap());
	public static Map<String, Object> RESET_PWD_CODE_MAP = Collections
			.synchronizedMap(new HashMap());
	public static Map<String, Object> INIT_PWD_CODE_MAP = Collections
			.synchronizedMap(new HashMap());
	public static Map<String, Object> LOGIN_FAIL_LAST_TIME_MAP = Collections
			.synchronizedMap(new HashMap());
	public static final String REGISTER_STEP_FIRST = "register_step_first";
	public static final String REGISTER_STEP_SECOND = "register_step_second";
	public static final String REGISTER_STEP_THIRD = "register_step_third";
	public static final String GETPWD_STEP_FIRST = "getpwd_step_first";
	public static final String GETPWD_STEP_SECOND = "getpwd_step_second";
	public static final String GETPWD_STEP_THIRD = "getpwd_step_third";
	public static final String NOTICE_REGISTER_PHONE = "bind_phone";
	public static final String NOTICE_BIND_EMAIL = "bind_email";
	public static Map<String, Object> TOKEN_POOL = Collections
			.synchronizedMap(new HashMap());
	public static final Map<String, String> APPKEY_MAP = new HashMap();
	public static final Map<String, String> WX_MAP = new HashMap();
	/*public static final String APPKEY = AppProperties.getProperty(
			"app_common.properties", "appkey");

	public static final String APPSECRET = AppProperties.getProperty(
			"app_common.properties", "appsecret");
	
	public static final String WXKEY = AppProperties.getProperty(
			"app_common.properties", "wxkey");

	public static final String TOKEN_EFFECTIVE_TIME = AppProperties
			.getProperty("app_common.properties", "token_effective_time");
*/
	/*static {
		APPKEY_MAP.put(APPKEY, APPSECRET);
		WX_MAP.put(WXKEY, APPSECRET);
	}*/




}
